<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE HTML >
<html>
<head>

<title>茶叶溯源系统</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
<meta http-equiv="description" content="This is my page" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/style/css/amazeui.min.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/style/css/app.css">
<link
	href="${pageContext.request.contextPath}/style/css/bootstrap.min.css"
	rel="stylesheet">
<link
	href="${pageContext.request.contextPath}/style/layui/css/layui.css"
	rel="stylesheet">
<script src="${pageContext.request.contextPath}/style/js/jquery.min.js"></script>
<script
	src="${pageContext.request.contextPath}/style/js/bootstrap.min.js"></script>
<script src="${pageContext.request.contextPath}/style/js/amazeui.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/style/layui/layui.js"></script>

</head>

<body>
	<div style="background-color:#e2e2e2">
		<div class="layui-card">
			<div class="layui-card-header">黄山毛峰质量追溯</div>
			<div class="layui-card-body">
				<label>追溯编号：</label>${qr.qrId } &nbsp;&nbsp;&nbsp;&nbsp; <label>查询次数：</label>${qr.count }
			</div>
		</div>
	</div>
	<div>
		<div class="layui-collapse">
			<div class="layui-colla-item">
				<h2 class="layui-colla-title">茶叶产品详情</h2>
				<div class="layui-colla-content layui-show">
					<label>茶叶编号：</label> ${tea.warehouseTeaid }&nbsp;&nbsp;&nbsp;&nbsp;<label>茶叶名：</label>${tea.teaName }
					<br> <label>茶叶重量：</label>${tea.teaQuality }(克)&nbsp;&nbsp;&nbsp;&nbsp;<label>茶叶生产日期：</label>${tealog.warehouseTealogtime }
					<br> <label>茶叶入库负责人：</label>${tealog.user.userName }&nbsp;&nbsp;&nbsp;&nbsp;<label>质量检测结果:</label>${zl1.result.codeName }
				</div>
			</div>
			<div class="layui-colla-item">
				<h2 class="layui-colla-title">茶叶生产过程介绍</h2>
				<div class="layui-colla-content layui-show">
					<label>加工编号：</label> ${op.operateId }&nbsp;&nbsp;&nbsp;&nbsp; <br>
					<div class="layui-collapse" lay-accordion>
						<div class="layui-colla-item">
							<h2 class="layui-colla-title">杀青</h2>
							<div class="layui-colla-content layui-show">
								<label>编号：</label> ${sq.operateSqid }&nbsp;&nbsp;&nbsp;&nbsp;<label>杀青温度：</label>${sq.operateWd }(℃)
								<br> <label>用时：</label> ${sq.operateTotaltime }(min)&nbsp;&nbsp;&nbsp;&nbsp;<label>时间：</label>${sq.operateTime }
								<br> <label>负责人：</label> ${sq.user.userName }
							</div>
						</div>
						<div class="layui-colla-item">
							<h2 class="layui-colla-title">揉捻</h2>
							<div class="layui-colla-content layui-show">
								<label>编号：</label> ${rn.operateRnid }&nbsp;&nbsp;&nbsp;&nbsp;<label>用时：</label>${rn.operateTotaltime }(min)
								<br> <label>时间：</label> ${rn.operateTime }&nbsp;&nbsp;&nbsp;&nbsp;<label>负责人：</label>${rn.user.userName }
							</div>
						</div>
						<div class="layui-colla-item">
							<h2 class="layui-colla-title">干燥</h2>
							<div class="layui-colla-content layui-show">
								<label>编号：</label> ${gz.operateGzid }&nbsp;&nbsp;&nbsp;&nbsp;<label>用时：</label>${gz.operateTotaltime }(min)
								<br> <label>初烘温度：</label>
								${gz.operateWd1}(℃)&nbsp;&nbsp;&nbsp;&nbsp;<label>复烘温度：</label>${gz.operateWd2 }(℃)
								<br> <label>时间：</label> ${gz.operateTime }&nbsp;&nbsp;&nbsp;&nbsp;<label>负责人：</label>${gz.user.userName }
							</div>
						</div>

					</div>

				</div>
			</div>
			<div class="layui-colla-item">
				<h2 class="layui-colla-title">茶叶原料详情</h2>
				<div class="layui-colla-content layui-show">
					<label>鲜叶编号：</label> ${teax.warehouseTeaxid }&nbsp;&nbsp;&nbsp;&nbsp;<label>鲜叶名：</label>${teax.warehouseTeaname }
					<br> <label>重量：</label> ${pick.pickQuality }&nbsp;&nbsp;&nbsp;&nbsp;<label>采摘时间：</label>${pick.pickTime }
					<br> <label>采摘人：</label> ${pick.user.userName }&nbsp;&nbsp;&nbsp;&nbsp;<label>采摘方式：</label>${pick.code.codeName }

				</div>
			</div>
			<div class="layui-colla-item">
				<h2 class="layui-colla-title">茶园详情</h2>
				<div class="layui-colla-content layui-show">
					<label>茶园编号：</label> ${land.landId }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<label>茶园名：</label>${land.landName }
					<br> <label>茶园面积：</label> ${land.landArea }(㎡)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<label>茶园状态：</label>${land.code.codeName }
					<br> <label>产期：</label> ${land.landTime }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<label>主要负责人：</label>${land.user.userName }
					<br><label>茶园地址：</label>${land.landSite }

				</div>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript">
	layui.use('element', function() {
		var element = layui.element;

	});
</script>
</html>
